#ifndef FightResultDialog_h__
#define FightResultDialog_h__

#include "Global.h"

class FightResultDialog : public ModelDialog , public DynamicClass
{
	DECLARE_CLASS(FightResultDialog)
public:
	FightResultDialog(void);
	~FightResultDialog(void);

	virtual bool init();
	void setItemIcon(int itemID);
	void setResultTitle(bool succeed);
	void setGold(int gold);
	void setExp(int exp);
	void touchScreen();
	CREATE_FUNC(FightResultDialog)
private:
	cocos2d::CCSprite* pBg;
	cocos2d::CCSprite* pResultTitle;
	cocos2d::CCSprite* pItemIcon;
	cocos2d::CCLabelTTF* pGold;
	cocos2d::CCLabelTTF* pExp;
	cocos2d::CCLabelTTF* pGoldTitle;
	cocos2d::CCLabelTTF* pExpTitle;
	cocos2d::CCLabelTTF* pItmeName;
	
};
IMPLEMENT_NODE_CLASS(FightResultDialog)

#endif